package com.morizhang.merchanmanager.api.dao;

import com.morizhang.merchanmanager.api.model.ShopShelfModel;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
@Mapper
public interface ShopShelfInfoDao {
    List<ShopShelfModel> selectAllShop();
    ShopShelfModel queryShopInfo(String shopName);
    int queryShopNum();
    void addShopInfo(ShopShelfModel shopModel);
    void deleteShopInfo(String shopName);
    void updateShopInfo(ShopShelfModel shopModel);

    List<ShopShelfModel> selectAllShopSection(String shopNo);
    ShopShelfModel queryShopSectionInfo(String shopSectionNo);
    void addShopSectionInfo(ShopShelfModel shopSectionModel);
    void deleteShopSectionInfo(String shopSectionNo);
    void updateShopSectionInfo(ShopShelfModel shopSectionModel);

    List<ShopShelfModel> selectAllShopShelf(String shopSectionNo);
    ShopShelfModel queryShopShelfInfo(String shopName);
    void addShopShelfInfo(ShopShelfModel shopShelfModel);
    void deleteShopShelfInfo(String shopShelfNo);
    void updateShopShelfInfo(ShopShelfModel shopShelfModel);
}
